package com.abc.common.web.url;

import java.util.Map;

/**
 */
public class WebUrlUtils {

    private Map<String, WebUrl> velocityUrl;

    public void setVelocityUrl(Map<String, WebUrl> velocityUrl) {
        this.velocityUrl = velocityUrl;
    }

    public WebUrl getWebUrl(String key) {
        WebUrl org = velocityUrl.get(key);
        WebUrl webUrl = org.clone();
        webUrl.setWebUrl(org);
        return webUrl;
    }
}
